package pers.sports.service;

import pers.sports.entity.Notice;
import pers.sports.vo.NoticeInfo;

import java.util.List;

public interface NoticeService {

    //查询id 标题和时间
    List<NoticeInfo> findAllNoticeInfo(Integer page, Integer limit);

    //根据id查询详细内容
    Notice findNoticeById(String noticeId);

    //新建一个公告
    Boolean insertNotice(Notice notice);

    Integer countNumber();

    void deleteNoticeById(String s);
}
